<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%--
  Created by IntelliJ IDEA.
  User: H110M-K win764bit
  Date: 2022/9/21
  Time: 16:40
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@include file="common.jsp" %>
<html>
<head>
    <title>Title</title>
</head>
<body>
<form id="form1" name="form1" method="post" action="${contextPath}/user.do">
    <input type="hidden" name="method" value="login"/>
    <p>
        用户名：
        <label>
            <input type="text" name="username" value="admin"/>
        </label>
    </p>
    <p>
        密码：
        <label>
            <input type="password" name="password" value="123456"/>
        </label>
    </p>
    <c:if test="${code != 200}">
        <p style="color:red;">${msg}</p>
    </c:if>
    <p>
        <label>
            <input type="submit" name="Submit" value="提交"/>
        </label>
    </p>
</form>
</body>
</html>
